package com.atguigu.exam.service;

import com.atguigu.exam.entity.Category;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface CategoryService  extends IService<Category> {
    List<Category> getCategoriesWithCount();


    void saveCategory(Category category);

    List<Category> getCategoryTree();

    void updateCategory(Category category);

    void removeCategoryById(Long id);
} 